package com.hawthorn.admin.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hawthorn.component.model.BasePO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>todo 麒麟云店菜单(app_menu) po实体类</p>
 * @author: sunwanzhong
 * @created: 2023-02-14
 * @version v1.0.1
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("app_menu")
public class AppMenuPO extends BasePO
{
  /**
   * 主键
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  /**
   * 菜单名称
   */
  @TableField("code")
  private String code;
  /**
   * 菜单显示名称
   */
  @TableField("title")
  private String title;
  /**
   * 父级菜单ID
   */
  @TableField("parent_id")
  private Long parentId;
  /**
   * 父级菜单代码
   */
  @TableField("parent_code")
  private String parentCode;
  /**
   * 父级菜单名称
   */
  @TableField("parent_name")
  private String parentName;
  /**
   * 业务类型
   */
  @TableField("biz_type")
  private Integer bizType;

  public AppMenuPO()
  {
  }
}
